---@class replica_components
---@field bh_mobius_energy replica_bh_mobius_energy

---@class replica_bh_mobius_energy
---@field inst ent
---@field val netvar
local bh_mobius_energy = Class(

---@param self replica_bh_mobius_energy
---@param inst ent
function(self, inst)
    self.inst = inst
    self.val = net_uint(inst.GUID, "bh_mobius_energy.val",'bh_mobius_energy_val_change')
end)

function bh_mobius_energy:SetVal(num)
    self.val:set(num)
end

function bh_mobius_energy:GetVal()
    return self.val:value()
end

return bh_mobius_energy